<?php


namespace app\model\api;


use laytp\BaseModel;

class Wzhero extends BaseModel
{
    protected $name='wz_hero';

    public function getRoleList(){
        $list = $this->field('id,name')
            ->cache(true)
            ->select()->toArray();
        return $list;
    }

}